package com.example.g51.service;

import com.example.g51.mapper.CartRateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CartRateService {

    @Autowired
    private CartRateMapper cartRateMapper;

    public Double getCartRateByUserId(String userId) {
        return cartRateMapper.selectCateRateByUserId(userId);
    }
}
